
#include "namedPipe.hpp"

// client -> write
int main()
{
    NamePipe fifo(comm_path, User);
    if (fifo.OpenForWrite())
    {
        while (true)
        {
            std::cout << "Please Enter > ";
            std::string msg;
            std::getline(std::cin, msg);
            fifo.WriteNamedPipe(msg);
        }
    }

    return 0;
}